package  com.mdp.im.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.mdp.core.dao.annotation.TableIds;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
 * @author 唛盟开源 code-gen
 * @since 2024-8-13
 */
@Data
@TableName("im_group_message")
@Schema(description="群聊消息")
public class ImGroupMessage  implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description="主键,主键")
	String msgId;

	@Schema(description="发送者ID")
	String sendUserid;

	
	@Schema(description="发送时间")
	Date sendTime;

	
	@Schema(description="发送对象L门店P商品K规格O订单S物流T其他M手机号码W微信号码M邮箱A广告")
	String sendObject;

	
	@Schema(description="发送内容")
	String sendContent;

	
	@Schema(description="读取时间")
	Date readTime;

	
	@Schema(description="备用参数1")
	String fp;

	
	@Schema(description="群组编号")
	String groupId;

	
	@Schema(description="用户@")
	String atUserid;

	
	@Schema(description="发送者姓名")
	String sendUsername;

	
	@Schema(description="消息动作inviteJoinFrend邀请成为好友,inviteJoinGroup邀请加入群,invitePhone邀请发送手机号码,inviteWeixin邀请发送微信,inviteResume邀请发送简历,inviteInterview邀请面试,showAd展示广告")
	String msgAction;

	
	@Schema(description="消息分类0普通消息1群组通知公告2IM通知3广告CSS客服")
	String msgClass;

	
	@Schema(description="消息状态send已发送reach已送达read已读back已回撤")
	String msgState;

	/**
	 *主键
	 **/
	public ImGroupMessage(String id) {
		this.msgId = id;
	}
    
    /**
     * 群聊消息
     **/
	public ImGroupMessage() {
	}

}